import {
	http
} from '@/node_modules/uview-plus'


/**
 * @function 查询水表
 * @water_meter_id 水表id
 * @water_meter_code 水表code
 */
export const waterDetail = (data) => http.post('/waterMeter/detail', data, {
	custom: {
		auth: 'base'
	}
});


/**
 * @function 查询水表
 * @water_meter_id 水表id
 * @water_meter_code 水表code
 */
export const monthlyReport = (data) => http.post('/waterMeter/waterMeterBill/pageList', data, {
	custom: {
		auth: 'base'
	}
});

/**
 * @function 获取轮播
 */
export const allOfGroupList = (data) => http.post('/content/ad/allOfGroup', data, {
	custom: {
		auth: 'base'
	}
});

/**
 * @function 获取公告
 */
export const noticeList = (data) => http.post('/content/notice/pageList', data, {
	custom: {
		auth: 'base'
	}
});

/**
 * @function 获取公告
 */
export const noticeDetail = (data) => http.post('/content/notice/detail', data, {
	custom: {
		auth: 'base'
	}
});

